package com.ruoyi.project.dict.ebookcontent.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 电子资料内容对象 ebook_content
 * 
 * @author shixiangwen
 * @date 2021-12-29
 */
public class EbookContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** ebookID */
    @Excel(name = "ebookID")
    private Long ebookId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long catalogId;

    /** 分组 */
    @Excel(name = "分组")
    private String catalog;

    /** 词 */
    @Excel(name = "词")
    private String word;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinyin;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summary;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 序号 */
    @Excel(name = "序号")
    private Long seq;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEbookId(Long ebookId) 
    {
        this.ebookId = ebookId;
    }

    public Long getEbookId() 
    {
        return ebookId;
    }
    public void setCatalogId(Long catalogId) 
    {
        this.catalogId = catalogId;
    }

    public Long getCatalogId() 
    {
        return catalogId;
    }
    public void setCatalog(String catalog) 
    {
        this.catalog = catalog;
    }

    public String getCatalog() 
    {
        return catalog;
    }
    public void setWord(String word) 
    {
        this.word = word;
    }

    public String getWord() 
    {
        return word;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }
    public void setSummary(String summary) 
    {
        this.summary = summary;
    }

    public String getSummary() 
    {
        return summary;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setSeq(Long seq) 
    {
        this.seq = seq;
    }

    public Long getSeq() 
    {
        return seq;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ebookId", getEbookId())
            .append("catalogId", getCatalogId())
            .append("catalog", getCatalog())
            .append("word", getWord())
            .append("pinyin", getPinyin())
            .append("summary", getSummary())
            .append("createdTime", getCreatedTime())
            .append("seq", getSeq())
            .toString();
    }
}
